package com.example.exercise.service;


import com.example.exercise.model.AttendanceRecord;
import com.example.exercise.model.Employee;
import com.example.exercise.model.LeaveType;
import com.example.exercise.model.Vacate;
import com.example.exercise.request.Staff;

import java.time.LocalDateTime;
import java.util.List;

/*
 *员工考勤管理系统，记录员工的考勤情况
 */
public interface CheckService {
    //签到，考勤记录signRecord
   AttendanceRecord register(String employeeId);
   //签退
    AttendanceRecord out(String staffId);
    //请假请求employees
    Vacate leave(String employeeId, LeaveType type,
                 LocalDateTime start, LocalDateTime end, String reason);



    //是否同意请假
    void approve(String leaveId, boolean isApproved);
}
